.Hierarchy {
  position: absolute;
  top: calc(50vh - 42px);
  left: 0;
  width: 200px;
  height: 50vh;
  background: #fff;
}

.Hierarchy-title {
  padding: 5px;
  background: #f2f2f2;
  border-bottom: 1px solid #dad9da;
}

.Hierarchy-content {
  height: calc(50vh - 35px);
  overflow-y: auto;
}

.Hierarchy-item {
  text-align: left;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.Hierarchy-item-name {
  padding: 5px;
  white-space: nowrap;
}

.Hierarchy-item-name.selected {
  background: #e0f0ff;
}

.Hierarchy-item .Hierarchy-toggle,
.Hierarchy-item .Hierarchy-toggle-empty {
  margin-right: 5px;
  border: 1px solid #999;
  color: #666;
  box-sizing: border-box;
  width: 14px;
  line-height: 12px;
  text-align: center;
  display: none;
}

.Hierarchy-item .Hierarchy-toggle-empty {
  border: none;
  display: inline-block;
}

.Hierarchy-item.Hierarchy-item-parent > .Hierarchy-item-name > .Hierarchy-toggle {
  display: inline-block;
}

.Hierarchy-item-children {
  padding-left: 15px;
  display: none;
}

.expanded > .Hierarchy-item-children {
  display: block;
}
